package com.tencent.mm.opensdk.modelmsg;

import android.os.Bundle;
import com.tencent.mm.opensdk.utils.Log;
import com.tencent.mm.opensdk.utils.TecentUtil;

public class WXMiniProgramObject   implements WXMediaMessage.IMediaObject
{
  private static final String TAG = "MicroMsg.SDK.WXMiniProgramObject";
  public String webpageUrl;
  public String userName;
  public String path;
  
  public void serialize(Bundle paramBundle)
  {
    paramBundle.putString("_wxminiprogram_webpageurl", this.webpageUrl);
    paramBundle.putString("_wxminiprogram_username", this.userName);
    paramBundle.putString("_wxminiprogram_path", this.path);
  }
  
  public void unserialize(Bundle paramBundle)
  {
    this.webpageUrl = paramBundle.getString("_wxminiprogram_webpageurl");
    this.userName = paramBundle.getString("_wxminiprogram_username");
    this.path = paramBundle.getString("_wxminiprogram_path");
  }
  
  public int type()
  {
    return 36;
  }
  
  public boolean checkArgs()
  {
    if (TecentUtil.isEmpty(this.webpageUrl))
    {
      Log.e("MicroMsg.SDK.WXMiniProgramObject", "webPageUrl is null");
      return false;
    }
    if (TecentUtil.isEmpty(this.userName))
    {
      Log.e("MicroMsg.SDK.WXMiniProgramObject", "userName is null");
      return false;
    }
    return true;
  }
}



/* Location:           C:\Users\Mr Ding\Desktop\Android_SDK_5.0.6\libs\wechat-sdk-android-without-mta-1.3.4.jar

 * Qualified Name:     com.tencent.mm.opensdk.modelmsg.WXMiniProgramObject

 * JD-Core Version:    0.7.0.1

 */